<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets">
    <h:head>
        <title>Facelet Title</title>
    </h:head>
    <h:body>
        <h:form id ="form">
            <p:dataTable value="#{pageController.cars}" var="p" paginator="true" rows="10">                                            
                <p:column>
                    <h:outputText value="a: " style="float: left;"/>
                </p:column>
                <p:column>
                    <p:inputText value="#{pageController.t}" style="float: right;font-size: 20px;"/>
                </p:column>
            </p:dataTable>
            <p:commandButton value="Check" action="#{pageController.check()}" update=":form"/>
            <p:commandButton value="Clear" action="#{pageController.clear()}" update=":form"/>
        </h:form>
    </h:body>
</html>

